<section class="pagebox" style="min-height: 1000px;" ng-controller="knowledgeControl">
    <div class="headerLeft">
        <dl class="textOverflow">
            <a class="aClean" ng-click="goMenu()">派宝开放平台</a> >
            <a id="showDiv"  class="aClean" ng-click="changeDiv()">行业库问答<img id="showDivImg" style="width:19px;" src="resource/images/DownArrow.png"></a>
        </dl>
    </div>
    <div class="header">
        <dl class="textOverflow">
            <a id="showUserDiv" class="aClean" title="{{title}}" ng-click="changeUserDiv()"><img class="robotIcon" src={{user.imageUrl}}>{{user.nickname}}<img id="showUserImg" style="width:19px;height: auto;" src="resource/images/DownArrow.png"></a>
        </dl>
    </div>
    <div class="container" id="hideDiv">
        <div class="content"><ul class="menuRobotsList">
            <li ng-repeat="m in menus">
                <a class="aClean" ng-click="goSecondMenu(m.id)">
                    <img class="conversation_boxL menuIcon"  src="{{m.imageUrl}}">
                    <dl ng-if="'' != m.menuName" title="{{m.menuName}}">
                        <span style="color: #0088CC" ng-if="'行业库问答' != m.menuName">{{m.menuName}}</span>
                        <span style="background-color: #7EA7D8;color: white;border-radius:8px;padding: 2px 5px 2px 5px" ng-if="'行业库问答' == m.menuName">{{m.menuName}}</span>
                    </dl>
                </a>
            </li>
        </ul></div>
        <s>
            <m></m>
        </s>
    </div>
    <div class="userDiv" id="hideUserDiv"><div class="userContainer">
        <div class="content">
            <ul>
                <li class="userLi">
                    <a ng-click="goChangePassowrd()" class="aClean">修改密码</a>
                </li>
                <li class="userLi">
                    <a ng-click="logOut()" class="aClean">注销</a>
                </li>
            </ul>
        </div>
        <s>
            <m></m>
        </s>
    </div></div>
    <div class="mainbox basesListMain">
        <dl style="width:100%;text-align: right;padding-right: 10%;"><a ui-sref="knowledgeAdd"><button class="addButton" ng-click="search()">添加</button></a></dl>
        <hr style="width: 85%;margin-bottom: -5px;">
        <dl ng-if="'' != questionBases">
            <ul class="baseList">
                <li class="clearfix" ng-repeat="q in questionBases track by $index">
                    <img class="baseIcon" src="resource/images/books.png">
                    <a style="text-decoration:none;" ui-sref="kQuestionList({baseId:q.id})">
                        <span class="question" style="color: white">{{q.baseName}}</span>
                    </a>
                    <section class="qutgroupBtn">
                        <button ng-click="editBase(q.id)"><img src="resource/images/icon-edit.png"></button>
                        <button ng-click="deleteBase(q.id)"><img src="resource/images/icon-del.png"></button>
                    </section>
                </li>
            </ul>
        </dl>
        <dl ng-if="'' == questionBases">
            <ul class="baseList">
                <h3>暂无行业库</h3>
            </ul>
        </dl>
    </div>
    <!--弹出确认框-->
    <div class="popboxbg" ng-hide="myVar">
        <div class="popbox">
            <div class="deltip">
                <p>删除行业库后，行业库所关联的问答也会失效，是否确定删除？</p>
                <div class="groupBtn">
                    <button class="Btnloadding" ng-click="deleteConfirm()">是</button>
                    <button class="Btncanel" ng-click="deleteCanel()">否</button>
                </div>
            </div>
        </div>
    </div>
</section>